package com.example.canalclientsync.canal.service;

import com.example.canalclientsync.canal.po.Dir;
import com.example.canalclientsync.canal.po.Project;
import com.example.canalclientsync.canal.po.VirtualModel;
import com.example.canalclientsync.es.document.EsModel;

/**
 * @author chen.cr
 * @since 2023/9/19
 */
public interface ModelService {

    EsModel buildFromVirtualModel(VirtualModel model);

    EsModel buildFromVirtualModel(VirtualModel model, Dir parentDir);

    void fillDataByClassification(EsModel esModel, Dir parentDir);

    Project searchProjectObject(Integer projectId, String tenantId);
}
